package com.lehoon.tomato.service.impl;


import com.lehoon.tomato.mapper.TestMapper;
import com.lehoon.tomato.model.UserBean;
import com.lehoon.tomato.service.TestService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class TestServiceImpl implements TestService {

    @Resource
    private TestMapper testMapper;

    @Override
    public UserBean getUserById(Long userId) {
        return testMapper.getUserByUserId(userId);
    }
}
